home *** CD-ROM | disk | FTP | other *** search
/ Hacker's Arsenal - The Cutting Edge of Hacking / Hacker's Arsenal - The Cutting Edge of Hacking.iso / texts / misc / unixvirii.txt < prev    next >
Encoding:
Text File  |  2001-07-11  |  10.9 KB  |  278 lines

  1. Have you ever been wondering why there aren't many viruses and remote
  2. administration trojans? (in fact there are less than 10 viruses, and you
  3. can protect yourself without the need for any anti-virus software. and I don't
  4. know about remote administration trojans, but as of this moment, Windows has
  5. over 1,000 remote administration trojans... check the chart at moosoft.com!)
  6.  
  7. Here's a log from a spontaneous IRC lecture that I held at BSRF's IRC channel
  8. (see blacksun.box.sk/irc.html for more information. BSRF's homepage can be
  9. found at blacksun.box.sk).
  10.  
  11. <kript0n> hey rav
  12. <Raven> hi everyone!
  13. <Raven> i'm in a good mood
  14. <kript0n> and i tried to nmap him
  15. <Esamurai> hey raven
  16. <kript0n> Raven: nice :D
  17. <Raven> therefore i'm gonna do a spontaneous irc lecture!
  18. <_quato_> salutations and respect to raven
  19. <kript0n> yeahh
  20. <kript0n> can i join ya?
  21. <kript0n> :D
  22. <Raven> i have to wait for someone to show up first
  23. <_quato_> cool
  24. <Raven> his name is protoss
  25. <kript0n> :))
  26. <Raven> he'll be here in a sec
  27. <Raven> somebody log this please
  28. <kript0n> oh... protoss... :D
  29. <_quato_> whats the lecture about
  30. <kript0n> i'm loggin.
  31. --> blade (zruya@212.179.141.110) has joined #bsrf
  32. <blade> hey
  33. <kript0n> Raven: why don't you log it also?
  34. <blade> i'm getting openbsd ;)
  35. <kript0n> blade: good 4 you
  36. <kript0n> but i prefer freebsd
  37. <_quato_> me too
  38. --> Cypher (r_T_s@cloaked.rlz.netvision.net.il) has joined #bsrf
  39. <Raven> kript0n i have a logging module for bitchx
  40. <Raven> but so far,
  41. <Raven> i tried to use it three times
  42. <kript0n> use sdtdin :D
  43. <kript0n> =))
  44. <Raven> it only worked in the first time
  45. <Raven> the second time i mistyped the command to load the module
  46. <Raven> and i thought it was running for the whole time
  47. <kript0n> and it wasnt :D
  48. <kript0n> hhehee
  49. <Raven> the third time, i don't remember what happened
  50. <kript0n> that roks
  51. <kript0n> =)
  52. <Raven> anyway i think it's jinxed
  53. <_quato_> cool
  54. <Cypher> hey
  55. <kript0n> soo Raven... it will be 'bout...?
  56. <m0ded> what lecture?
  57. <Raven> the command is /load something.mod, i think it's bxlog04.mod, lemme check...
  58. --> ZhorTroX (~zhortrox@k1hi415.dial.kabelfoon.nl) has joined #bsrf
  59. <Raven> now where did i put that module...
  60. <Raven> ohh btw protoss won't be showing up
  61. <Raven> ok who's logging?
  62. * kript0n looks under the table
  63. <kript0n> no mod here
  64. <-- Maveric has quit (Leaving)
  65. <kript0n> i am
  66. <Raven> lol
  67. <Raven> anybody else?
  68. <kript0n> :D
  69. <blade> lecture ?
  70. <_quato_> me
  71. <m0ded> me
  72. <kript0n> :D
  73. <Raven> blade, a spontaneous one
  74. <kript0n> Raven: many backups :)
  75. <Raven> i'm in a good mood    :-)
  76. <Cypher> what is the lecture about?
  77. <Raven> yeah, it was bxlog2.0.bx
  78. <Raven> that was the name of the module
  79. <Raven> ok start your loggers people!!
  80. <kript0n> i'm allways loggin0
  81. <kript0n> i'm allways loggin'.
  82. <kript0n> -------------------------- start
  83. <m0ded> start
  84. <Raven> Why are there so little viruses / remote administration trojans for Unix/Linux
  85. <Raven> ==============================================================================
  86. <Raven> :-)
  87. <kript0n> hello there and welcome to a new lecture by Raven :D
  88. * ZhorTroX smiles
  89. <kript0n> this is CNN
  90. <kript0n> :)
  91. <Raven> yeah yeah thank you and SHUT UP!!!!!!
  92. <Raven> :-)
  93. <kript0n> hehehehe
  94. <Raven> so anyway
  95. <ZhorTroX> heh
  96. <Raven> before we start...
  97. <Raven> i'd like to hold a little discussion
  98. * ZhorTroX sighs
  99. <kript0n> oh yeahhhhh
  100. <Raven> Why do people create viruses?
  101. <_quato_> oh cool
  102. <Cypher> cause they are bored
  103. <kript0n> 1) dumbasses!
  104. <kript0n> 2) nothing to do
  105. <_quato_> im braindead
  106. <blade> they are bored
  107. <Raven> nonono this isn't the attitude people
  108. <kript0n> 3) test knowledge
  109. <ZhorTroX> Out of boreddom ;)
  110. <ZhorTroX> REVENGE!!
  111. <Cypher> dumbasses that have nothing to do
  112. <m0ded> to hurt otherz
  113. <Raven> nonono there's another reason
  114. <kript0n> nope....
  115. <_quato_> ok the discussion!!!
  116. <kript0n> not to hurt...
  117. <Raven> people create viruses mainly because they have a mental sickness that most people have
  118. <Raven> some people take it out in real life
  119. <ZhorTroX> to impress people!
  120. <Raven> others create viruses
  121. <Raven> ZhorTroX, no
  122. <Raven> this sickness is called:
  123. <ZhorTroX> hehe
  124. <kript0n> stress
  125. <Raven> Popularity Delusions and the Madness of Crowds
  126. <kript0n> :D
  127. <ZhorTroX> revenitus
  128. <kript0n> what about
  129. <_quato_> virus writing is not out of stress
  130. --> cika_mark (asddsa@i225.ppp-bg.sezampro.yu) has joined #bsrf
  131. <Raven> i don't know about the original creator of melissa, for example, but today people create viruses that spread themselves in order to become famous
  132. <Raven> they wish to be "recognized"
  133. <_quato_> its out of professional competition
  134. <ZhorTroX> sounds interesting though
  135. <Raven> sure there are a few people left that create this for fun or for the challenge
  136. <_quato_> excatly
  137. <kript0n> its like this...
  138. <Raven> some just like to hurt others
  139. <kript0n> they just wanna make their names bounce into outlook :DDDDDD
  140. <Raven> but most people want to create viruses in order to spread their name together with the virus
  141. <m0ded> and go to jail ;p
  142. <ZhorTroX> yep. 
  143. <_quato_> and out of the fact they are testing the limits of their knowledge
  144. <Raven> ok thank you and SHUT UP!!!!!!!!!
  145. <Raven> :-)
  146. <kript0n> :)
  147. <kript0n> again
  148. <Raven> people are complaining about all the, uhm... background noise
  149. <Raven> in every lecture
  150. <kript0n> yes...
  151. <Raven> it's a hard time reading the logs like that
  152. <kript0n> lets stop
  153. <ZhorTroX> it's fun, i think
  154. <Raven> ok so speak up only if you have something important to say
  155. <kript0n> not.
  156. <ZhorTroX> :|
  157. <Raven> so anyway...
  158. <Raven> one of the reasons that there are so little viruses and RATs (remote administration trojans) for unix/linux is...
  159. <Raven> the lack of popularity
  160. <Raven> not so many people use unix and unix-based systems, right?
  161. <kript0n> of course.
  162. <Raven> it's much more fun watching the whole world crash when CIH was unleashed
  163. <Raven> here's another reason:
  164. <_quato_> virus writing is an art form
  165. * ZhorTroX nods
  166. <Raven> in unix-based systems, there are different users on the system
  167. <Raven> with root having maximum privileges
  168. <kript0n> now here comes my part
  169. <Raven> every program runs with your privileges
  170. <kript0n> nope
  171. <Raven> a program can't access a file unless you have permission to access it, etc'
  172. <kript0n> depends.
  173. <kript0n> let me say something
  174. <Raven> kript0n suppose it's not a magical h4x0r program
  175. <Raven> :-)
  176. <Raven> unless the security is breached, ok?
  177. <Raven> kript0n u wanna say something?
  178. <kript0n> the biggest reason why security is breached is due to:
  179. <kript0n> suid!
  180. <Raven> kript0n right, but that doesn't do anything in our case
  181. <Raven> i'll explain
  182. <kript0n> but, i'll talk bout this in the 8 :D
  183. <kript0n> it has to do Raven...
  184. <Raven> so suppose you get a suspicious file...
  185. <Raven> from icq
  186. <Raven> from irc
  187. <Raven> from email
  188. <Raven> from a website
  189. <Raven> etc'
  190. <Raven> you wouldn't run it as root, right??
  191. <kript0n> from your mamma
  192. <Raven> you would create a less privileged user
  193. <kript0n> 'course
  194. <m0ded> why not
  195. <Raven> and run it from that user
  196. <Raven> so if it's a malicious program like a trojan or a virus it won't be able to do much
  197. <ZhorTroX> ahuh
  198. <Raven> paranoid people will also run debuggers to see exactly what the program does
  199. <Raven> so here's why there are less viruses and RATs for unix/linux!
  200. <Raven> less people would get infected
  201. <ZhorTroX> wheew end of the lecture!
  202. <Raven> thus people are less motivated to create viruses and RATs for unix
  203. <kript0n> =)
  204. <Raven> ZhorTroX that's not all
  205. <kript0n> ------------------------------------------------- end :D
  206. <kript0n> hehe
  207. <kript0n> NOT
  208. <kript0n> :D
  209. <Raven> here's another reason:
  210. <-- Cypher (r_T_s@cloaked.rlz.netvision.net.il) has left #bsrf (gtg)
  211. * ZhorTroX smiles
  212. <Raven> today, over 80% of all infected boxes get infected via email
  213. <Raven> mostly because of vb trojans and such that hurt outlook users
  214. <Raven> i.e. the love virus, for example
  215. <Raven> and it's deadly sibling...
  216. <Raven> that will COMPLETELY erase your hard drive!!
  217. <_quato_> those arent true viruses
  218. <Raven> now, the last time i checked, unix systems aren't vulnerable to outlook bugs...
  219. <Raven> ;-)
  220. <ZhorTroX> get to the point hehe
  221. <kript0n> and fuck the mbr (the hardcore ones)
  222. <Raven> well actually there's a version of outlook for SunOS
  223. <ZhorTroX> d'oh!
  224. <kript0n> Raven: calm down... there are vulnerable systems!
  225. <_quato_> somehow the eseentail concept of a virus seems to have been misconstrued over the years
  226. <kript0n> to those stupid bugs...
  227. <Raven> kript0n :-)
  228. <Raven> _quato_ right
  229. <kript0n> there are... linux systems included
  230. <Raven> kript0n would you mind explaining yourself?
  231. <kript0n> ok.
  232. <kript0n> its like this
  233. <kript0n> as you guys may know, 
  234. <_quato_> a virus a program that ca replicate any way possible any its sole purpose is to survive, 
  235. <_quato_> not to destroy
  236. <kript0n> the visual basic technology, has been out there for some time now,
  237. <ZhorTroX> ahuh
  238. <kript0n> and thus has been letting eggs around many progs...
  239. <cika_mark> what would hapen if i run virus under unix with less privleged user and next day i login as root.....wounld virus spread to all my system or its just to less user files and permitions....i think u undestand me :)
  240. <kript0n> cika_mark: nope. but let me continue
  241. <cika_mark> ok
  242. <Raven> cika_mark you have to run an infected file as root for the infection to be system-wide
  243. <Raven> but hey, if u fail to create that less-privileged user
  244. <kript0n> Raven: in fact, sendmail was updated due to some bugs that (and you may find this hard to believe) made the vb code act...
  245. <kript0n> not in that winbug way
  246. <Raven> and accidentally give it write access to some impotant files
  247. <kript0n> but it fucked up some stupid guys
  248. <Raven> like for example /bin/ls, the ls program that lists the contents of a directory
  249. <Raven> and then root uses it...
  250. <Raven> then the system is infected
  251. <Raven> but that less-privileged user should only have execute privileges for ls
  252. <cika_mark> yes but is viurs active only when is less privileged user login or when anyone is logedin
  253. <Raven> anyway just make sure that when you create that safe user (this method is called a sandbox, btw. you run a program in an underprivileged environment)
  254. <Raven> and make sure you don't leave any breaches
  255. <kript0n> in fact.. i use a different puter as a sandbox.
  256. <Raven> ohh btw there are a few viruses for linux
  257. <Raven> less than 10, as far as i know
  258. <Raven> windows has over 10,000
  259. <kript0n> Raven: hehehe... you have it kinda wrong :D
  260. <Raven> and over 1,000 remote administration trojans
  261. <kript0n> there are MANY viruses
  262. <kript0n> :D
  263. <ZhorTroX> over millions
  264. <kript0n> they just don't spread because,
  265. <Raven> ZhorTroX nah
  266. <ZhorTroX> raven :mm hehe
  267. <Raven> kript0n ok, there are about 15,000 known viruses i think
  268. <kript0n> 1) it gathers some knowledge to mess with linux and unix
  269. <Raven> that was in mcafee's website a little while ago
  270. <ZhorTroX> you're talking about *known*
  271. <Raven> a few months ago, maybe i'm outdated
  272. <kript0n> 2) ppl aren't dumbasses to not understand what they souldn't run
  273. <Raven> kript0n right, people who use even the simplest of all linux distributions would know not to accept any untrusted files
  274. <kript0n> of course.
  275. <kript0n> that is a basic of security
  276. <Raven> ok, that's all for today
  277. <Raven> the lecture ends here
  278.